#ifndef SHADER_H
#define SHADER_H

#include <string>
#include <fstream>
#include <sstream>
#include <iostream>

#define GLEW_STATIC
#include <GL/glew.h>

class Shader
{
public:
    Shader(const GLchar *vertexSourcePath, const GLchar *fragmentSourcePath);
    void use() { glUseProgram(m_program); }
    GLint get_uniform(const GLchar *name) { return glGetUniformLocation(m_program, name); }

private:
    GLuint m_program;
};

#endif // SHADER_H
